import {
  Pool,
  Post,
  Parpath,
  APPrequest,
  query,
  addToken,
  getToken,
  getJson
} from '../../plugins/import'
@Parpath('/list')
export default class List {
  constructor () {}
  /**
   * 获取用户信息
   * @param param0 
   * @param pool 
   */
  @Post('/test')
  doUserInfo ({ req, res }: APPrequest, pool: Pool) {
    res.json(getJson('true', 200, '查询成功'))
  }
}
